package com.yuan.blog.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.util.Date;

/**
 * @program: blog-core
 * @description:
 * @author: yuan_boss
 * @create: 2023-01-06 10:34
 **/
@Data
public class Comment2Vo {
    private Integer id;

    //评论用户
    private Integer userId;

    // 评论是给帖子(1)还是评论(2)
    private Integer entityType;

    private Integer entityId;//帖子id或者评论id

    //评论的帖子id
    private Integer targetId;

    private String content;

    private Integer status;

    private Date createTime;

    private String createTimeText;

}
